package top.infopub.model.mkt;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import top.infopub.generic.GenericEntity;

import java.math.BigDecimal;
import java.util.Date;

/** 资格预审(MKT_INQUIRY_PRO) **/
public class InquiryPro extends GenericEntity  {

	private static final long serialVersionUID = 1L;

	/** PK */
	private String id;

	/** 单据编号 */
	private String codes;

	/** 项目全局唯一编号 */
	private String proCode;

	/** 添加人 */
	private String addBy;

	/** 添加时间 */
	private Date addTime;

	/** 最后修改人 */
	private String uptBy;

	/** 最后修改时间 */
	private Date uptTime;

	/** 关联的审批流程ID */
	private String processId;

	/** 当前审批状态 1=审批中 9=审批完成 10=审批终止 */
	private String processStatus;

	/** 报名截止【资格预审】 */
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date signupEndDate;

	/** 资格预审截止日期【资格预审】 */
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date inquiryEndDate;

	/** 是否需要保证金，0=否，1=是，【资格预审】 */
	private String isNeedBond;

	/** 保证金方式，1=保证金，2=保函【资格预审】 */
	private String bailMethod;

	/** 保证金金额【资格预审】 */
	private BigDecimal bondAmt;

	/** 投标保证金截止日期【资格预审】 */
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date bondEndDate;

	/** 是否通过资审，0=否，1=是 */
	private String isThrough;

	/** 预计回收时间【资格预审】 */
	private Date recoveryTime;

	/** OA待办Id，营销经理的待办 */
	private String oaId;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCodes() {
		return codes;
	}

	public void setCodes(String codes) {
		this.codes = codes;
	}

	public String getProCode() {
		return proCode;
	}

	public void setProCode(String proCode) {
		this.proCode = proCode;
	}

	public String getAddBy() {
		return addBy;
	}

	public void setAddBy(String addBy) {
		this.addBy = addBy;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public String getUptBy() {
		return uptBy;
	}

	public void setUptBy(String uptBy) {
		this.uptBy = uptBy;
	}

	public Date getUptTime() {
		return uptTime;
	}

	public void setUptTime(Date uptTime) {
		this.uptTime = uptTime;
	}

	public String getProcessId() {
		return processId;
	}

	public void setProcessId(String processId) {
		this.processId = processId;
	}

	public String getProcessStatus() {
		return processStatus;
	}

	public void setProcessStatus(String processStatus) {
		this.processStatus = processStatus;
	}

	public Date getSignupEndDate() {
		return signupEndDate;
	}

	public void setSignupEndDate(Date signupEndDate) {
		this.signupEndDate = signupEndDate;
	}

	public Date getInquiryEndDate() {
		return inquiryEndDate;
	}

	public void setInquiryEndDate(Date inquiryEndDate) {
		this.inquiryEndDate = inquiryEndDate;
	}

	public String getIsNeedBond() {
		return isNeedBond;
	}

	public void setIsNeedBond(String isNeedBond) {
		this.isNeedBond = isNeedBond;
	}

	public String getBailMethod() {
		return bailMethod;
	}

	public void setBailMethod(String bailMethod) {
		this.bailMethod = bailMethod;
	}

	public BigDecimal getBondAmt() {
		return bondAmt;
	}

	public void setBondAmt(BigDecimal bondAmt) {
		this.bondAmt = bondAmt;
	}

	public Date getBondEndDate() {
		return bondEndDate;
	}

	public void setBondEndDate(Date bondEndDate) {
		this.bondEndDate = bondEndDate;
	}

	public String getIsThrough() {
		return isThrough;
	}

	public void setIsThrough(String isThrough) {
		this.isThrough = isThrough;
	}

	public Date getRecoveryTime() {
		return recoveryTime;
	}

	public void setRecoveryTime(Date recoveryTime) {
		this.recoveryTime = recoveryTime;
	}

	public String getOaId() {
		return oaId;
	}

	public void setOaId(String oaId) {
		this.oaId = oaId;
	}
}